﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Gurucore.Framework.Core.Factory;
using Gurucore.Framework.Core.XmlBinding;

namespace Gurucore.Framework.Business
{
	[XmlClass("interface")]
	public class ServiceInfo : FactoryItemBase
	{
		private string m_sImplementationClass;
		private string m_sImplementationAssembly;
		private List<string> m_arrActivationParam;

		[XmlProperty(Type = XmlPropertyType.NestedElement)]
		public string ImplementationClass
		{
			get { return m_sImplementationClass; }
			set { m_sImplementationClass = value; }
		}

		[XmlProperty(Type = XmlPropertyType.NestedElement)]
		public string ImplementationAssembly
		{
			get { return m_sImplementationAssembly; }
			set { m_sImplementationAssembly = value; }
		}

		[XmlSubSequence]
		public List<string> ActivationParam
		{
			get { return m_arrActivationParam; }
			set { m_arrActivationParam = value; }
		}
	}
}
